package com.springboot.base.springbootes.pojo;

import com.springboot.base.springbootes.pojo.esHotelVo.HotelDoc;
import lombok.Data;

import java.util.List;

/**
 * @author: 船长
 * @create: 2025-03-15 16:58
 **/

@Data
public class PageResult {

    private Long total;

    private List<HotelDoc> hotels;

    public PageResult(Long total, List<HotelDoc> hotels) {
        this.total = total;
        this.hotels = hotels;
    }
}
